﻿using NewsReaderApp.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

namespace NewsReaderApp.Views
{
    public class NewsReaderPage :LayoutAwarePage
    {
        public FeedViewModel ViewModel
        {
            get { return (FeedViewModel)DataContext; }
            set { DataContext = value; }
        }

        public bool IsPortrait
        {
            get { return Window.Current.Bounds.Height > Window.Current.Bounds.Width; }
        }
    }
}
